|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectraar.register.RAListPointer
public class RAListPointer
| Constructor Summary | |
|---|---|
RAListPointer(java.lang.String registerLocation,
RARegister register)
|
|
| Method Summary | |
|---|---|
void |
add(RAAllowedInList newValue)
Adds an element to the list. |
boolean |
canContain(RAAllowed other)
|
void |
clear()
Clears the list. |
boolean |
equals(RAEqualityComparable otherElement)
|
boolean |
hasMoreElements()
Tests if this list's nextElement method can be called again. |
RAAllowed |
makeClone()
|
RAAllowedInList |
nextElement()
Returns the next element in this list or null if it doesn't exist. |
void |
resetIteration()
This method resets the list's iterator, which means nextElement will start at the beginning of the list again. |
void |
set(RAAllowedInList newValue)
Sets the last element returned by nextElement. |
java.lang.String |
toString()
|
RANonElemDataType |
typeOfList()
|
RADataType |
value()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RAListPointer(java.lang.String registerLocation,
RARegister register)
| Method Detail |
|---|
public RADataType value()
throws RAException
value in interface RAAssignablevalue in interface RAPointerRAException
public RANonElemDataType typeOfList()
throws RAException
typeOfList in interface RAAbstractListRAException
public void add(RAAllowedInList newValue)
throws RAException
add in interface RAAbstractListnewValue - The value to add.
RAException
public void set(RAAllowedInList newValue)
throws RAException
set in interface RAAbstractListnewValue - The new value of this element
RAException
public void clear()
throws RAException
clear in interface RAAbstractListRAException
public RAAllowedInList nextElement()
throws RAException
nextElement in interface RAAbstractListRAException
public boolean hasMoreElements()
throws RAException
hasMoreElements in interface RAAbstractListRAException
public void resetIteration()
throws RAException
resetIteration in interface RAAbstractListRAException
public RAAllowed makeClone()
throws RAException
makeClone in interface RAAllowedRAExceptionpublic boolean canContain(RAAllowed other)
canContain in interface RAAllowed
public boolean equals(RAEqualityComparable otherElement)
throws RAException
equals in interface RAEqualityComparableRAExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||